/**
 * 
 */
package com.yidu.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * 树节点模型
 * @author liandyao
 * @date 2018年7月18日 上午11:07:29
 * @version 1.0
 */
public class TreeNode {
	private  String name ;//名称
	private String id ;//id
	private String pid  ; //上级ID
	private String title ;
	private String value ;
	private Boolean spread ; //默认开启
	private  List <TreeNode>  children ;//放TreeNode集合
	private boolean disabled ;
	private List data = new ArrayList();
	private boolean checked ;

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public List getData() {
		return data;
	}

	public void setData(List data) {
		this.data = data;
	}

	public boolean isDisabled() {
		return disabled;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Boolean getSpread() {
		return spread;
	}

	public void setSpread(Boolean spread) {
		this.spread = spread;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<TreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
